<?php
	Configure::write('LilMedia.baseDir', WWW_ROOT . 'uploads' . DS);
	
	if (file_exists(dirname(__FILE__) . DS . 'config.php')) {
		include dirname(__FILE__) . DS . 'config.php';
	}
	
	if (file_exists(APP . 'config' . DS . 'lil_media.php')) {
		include APP . 'config' . DS . 'lil_media.php';
	}
?>